package cn.com.sparkle.paxos.net.factory;

import cn.com.sparkle.paxos.iomodel.protobuffmessage.PaxosMessages.MessagePackage;

public interface NetHandler {
	public void onDisconnect(PaxosSession session);
	public void onConnect(PaxosSession session);
	public void onRecieve(PaxosSession session,MessagePackage message);
	public void onRefuse(Object connectAttachment);
}
